﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA.BankApplication.DAL
{
    /// <summary>
    /// Exception thrown when a SELECT command returns
    /// more than one record for a given ID.
    /// </summary>
    public class DuplicateKeyFoundException : ApplicationException
    {
        public DuplicateKeyFoundException()
        {}

        public DuplicateKeyFoundException(string message) : base(message)
        {}

        public DuplicateKeyFoundException(string message, Exception innerException)
            : base(message, innerException)
        { }
    }
}
